package com.zmn.oms.services.interfaces.report;

import com.zmn.common.dto.KvDTO;
import com.zmn.oms.common.exception.OmsBaseException;
import com.zmn.oms.model.entity.report.GD114;
import com.zmn.oms.model.entity.report.GD114Query;
import com.zmn.oms.model.entity.report.newOrderCountQuery;

import java.util.ArrayList;
import java.util.List;

public interface WorkReportService {
    List<GD114> listGD114ReportByQuery(GD114Query gd114Query) throws OmsBaseException;

    /**
     * 获取下单时间新单，可选以城市维度或公司维度
     * @param orderCountQuery
     * @return key为公司或城市ID，value为新单单量
     */
    ArrayList<KvDTO<Integer, Integer>> getNewOrderCount(newOrderCountQuery orderCountQuery);
}
